<?php

namespace App\Http\Controllers\Admin\Service;

use App\Http\Controllers\Controller as BaseController;
use App\Repository\Service\ServiceSendMsgRepository;
use Illuminate\Http\Request;

// 客服外呼任务时发送信息模块
class SendMsgController extends BaseController
{
    private $repoist;

    public function __construct(ServiceSendMsgRepository $repository)
    {
        $this->repoist = $repository;
    }

    public function index(Request $request)
    {

    }

//记录发送短信内容
    public function saveSendMsg(Request $request)
    {
        return $this->repoist->add($request->all());
    }

}
